package com.appbee.gdata.picasaadmin.client;

import javax.inject.Singleton;

import com.appbee.gdata.picasaadmin.client.activity.PicasaSettingsActivity;
import com.appbee.gdata.picasaadmin.client.ui.SettingsView;
import com.appbee.gdata.picasaadmin.shared.PicasaSettingsRequestFactory;
import com.google.gwt.inject.client.AbstractGinModule;

public class PicasaAdminGinModul extends AbstractGinModule
{

	@Override
	protected void configure()
	{
		bind(PicasaSettingsRequestFactory.class)
				.toProvider(PicasaSettingsRequestFactoryProvider.class)
				.in(Singleton.class);
		bind(PicasaSettingsActivity.View.class).to(SettingsView.class).in(
				Singleton.class);
	}

}
